-- card: 2325 from stack: in -- bmap block id: 5070 -- flags: 0000 -- background id: 7909 -- name: Threshold ----- HyperTalk script ----- on openCard hide menuBar show card field "Message Center" set hilite of background button "Scan. Concepts" to true set hilite of background button "How It Works" to false set hilite of background button "The System" to false set hilite of background button "File Formats" to false end openCard on closeCard hide card field "Cover All" hide card button "Self-Check" show card field "Message Center" set hilite of background button "Scan. Concepts" to true set hilite of background button "How It Works" to false set hilite of background button "The System" to false set hilite of background button "File Formats" to false end closeCard -- part 1 (field) -- low flags: 01 -- high flags: 2004 -- rect: left=13 top=179 right=270 bottom=495 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Message Center -- part 6 (button) -- low flags: 80 -- high flags: A004 -- rect: left=1 top=315 right=340 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Self-Check ----- HyperTalk script ----- on mouseUp visual iris close hide card button "Self-Check" hide card field "Cover All" pop card end mouseUp -- part 7 (field) -- low flags: 81 -- high flags: 0001 -- rect: left=5 top=272 right=310 bottom=510 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Cover All -- part contents for card part 1 ----- text ----- The threshold parameter determines which gray dots in the original will result in white dots in the bitmap, and which will be black. For example, if you set the threshold level at 10, all dots with a density less than 10 are detected as white; dots with a density of 10 or greater are detected as black.